﻿using Furion.DynamicApiController;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

namespace PIP.Application
{
    /// <summary>
    /// 环境检查
    /// </summary>
    [ApiDescriptionSettings("BaseDataServices", Tag = "心跳检测服务")]
    [AllowAnonymous]
    public class EnvironmentMonitoring : IDynamicApiController
    {
        /// <summary>
        /// 查看运行环境
        /// </summary>
        /// <returns></returns>
        public string GetEnvironment()
        {

            return PIP.Common.Helper.GetEnvironment();
        }
        /// <summary>
        /// 测试接口版本
        /// </summary>
        /// <returns></returns>
        //public string GetEnvironmentV2()
        //{
        //    return PIP.Common.Helper.GetEnvironment();
        //}
    }
}
